<?php
namespace Test3;
class Order {
    public static $_status = [
        1 => '待付款',
        2 => '待发货',
        3 => '待收货',
        4 => '已完成'
    ];

    public static function getStatusTitle($status) {
        return self::$_status[$status];
    }
}